cmake_minimum_required(VERSION 2.6)
  PROJECT(AzidEngine)
 
  set(CMAKE_MODULE_PATH 
 	/usr/local/lib/OGRE/cmake
  )
 
  FIND_PACKAGE(OpenGL)
  FIND_PACKAGE(OGRE REQUIRED)
  FIND_PACKAGE(CEGUI REQUIRED)
  FIND_PACKAGE(OIS REQUIRED)
  FIND_PACKAGE(OPENAL REQUIRED)
  FIND_PACKAGE(BOOST REQUIRED)
 
  INCLUDE_DIRECTORIES(
 	${OpenGL_INCLUDE_DIR}
 	${OGRE_INCLUDE_DIRS}
 	${OIS_INCLUDE_DIRS}
 	${CEGUI_INCLUDE_DIRS}
 	${PROJECT_SOURCE_DIR}/AzidEngine/includes
  )
  
  FILE(GLOB SRCS AzidEngine/src/*.cpp)
  FILE(GLOB HDRS AzidEngine/includes/*.hpp)
 
  ADD_EXECUTABLE(game 
 	${SRCS}
 	${HDRS}
  )
 
  TARGET_LINK_LIBRARIES(game
 	${OpenGL_LIBRARIES}
 	${OIS_LIBRARIES}
 	${OGRE_LIBRARIES}
  )